<template>
  <div :class="collapsedSide ? '_pl-19' : '_pl-24'" class="logo">
    <a-tooltip placement="right" :title="basicsInfo.orgName">
      <img :src="basicsInfo.logo" alt="" />
    </a-tooltip>
  </div>
</template>

<script>
import LogoSvg from '@/assets/logo.png'
import { mapGetters } from 'vuex'
export default {
  name: 'Logo',
  components: {
    LogoSvg,
  },
  data() {
    return {
      LogoSvg: LogoSvg,
    }
  },
  computed: {
    ...mapGetters(['basicsInfo', 'logo']),
  },
  props: {
    title: {
      type: String,
      default: '深圳社会组织',
      required: false,
    },
    collapsedSide: {
      type: Boolean,
      default: true,
    },
  },
}
</script>
